<table class="exampleTable" > 
	<thead> 
		<tr> 
			<th colspan="3">返回值</th>
		</tr> 
		<tr> 
			<th width="30%">变量</th> 
			<th width="20%">类型</th> 
			<th width="50%">说明</th> 
		</tr>
	</thead> 
	 <tbody> 
		<tr> 
			<td>redEnvelopeRelated_giveRedEnvelopeContent_entityBean</td> 
			<td><a style="color: #317ee7" onclick="anchorJump('#anchor_10'); return false;">GiveRedEnvelope</a></td>
			<td>发红包内容</td> 
		</tr> 
	</tbody> 
</table>
<table id="anchor_10" class="exampleTable" > 
	<thead> 
		<tr> 
			<th colspan="4">发红包内容 GiveRedEnvelope</th>
		</tr> 
		<tr> 
			<th width="30%">变量</th> 
			<th width="30%">类型</th>
			<th width="40%" colspan="2">说明</th> 
		</tr> 
	</thead> 
	<tbody> 
		<tr> 
			<td>id</td> 
			<td>String</td>
			<td colspan="2">发红包Id</td>
		</tr>
		<tr> 
			<td>userId</td> 
			<td>Long</td>
			<td colspan="2">发红包的用户Id</td>
		</tr>
		<tr> 
			<td>userName</td> 
			<td>String</td>
			<td colspan="2">发红包的用户名称</td>
		</tr>
		<tr> 
			<td>nickname</td> 
			<td>String</td>
			<td colspan="2">发红包的用户呢称</td>
		</tr>
		<tr> 
			<td>avatarPath</td> 
			<td>String</td>
			<td>头像路径</td>
			<td width="15%" rowspan="2">页面上显示200*200头像示例${giveRedEnvelope.avatarPath}${giveRedEnvelope.avatarName}   &nbsp;&nbsp;显示100*100头像示例${giveRedEnvelope.avatarPath}100x100/${giveRedEnvelope.avatarName}</td> 
		</tr>
		<tr> 
			<td>avatarName</td> 
			<td>String</td>
			<td>发红包的用户头像名称</td>
		</tr>
		<tr> 
			<td>type</td> 
			<td>Integer</td>
			<td colspan="2">10.个人定向红包、20.公共随机红包(随机金额)、30.公共定额红包(固定金额)</td>
		</tr>
		<tr> 
			<td>totalAmount</td> 
			<td>BigDecimal</td>
			<td colspan="2">总金额</td>
		</tr>
		<tr> 
			<td>singleAmount</td> 
			<td>BigDecimal</td>
			<td colspan="2">单个红包金额 type=30时有值</td>
		</tr>
		<tr> 
			<td>giveQuantity</td> 
			<td>Integer</td>
			<td colspan="2">发放数量</td>
		</tr>
		<tr> 
			<td>bindTopicId</td> 
			<td>Long</td>
			<td colspan="2">绑定话题Id  -1表示空值</td>
		</tr>
		<tr> 
			<td>bindTopicTitle</td> 
			<td>String</td>
			<td colspan="2">绑定话题标题</td>
		</tr>
		
		<tr> 
			<td>remainingQuantity</td> 
			<td>Integer</td>
			<td colspan="2">剩余数量</td>
		</tr>
		<tr> 
			<td>giveTime</td> 
			<td>Date</td>
			<td colspan="2">发放时间</td>
		</tr>
		<tr> 
			<td>accessUserUnwrap</td> 
			<td>boolean</td>
			<td colspan="2">访问用户是否已拆本红包</td>
		</tr>
		
	</tbody> 
</table>

<table class="exampleTable" > 
	<thead>
		<tr> 
			<th colspan="5">方法支持参数</th>
		</tr>
		<tr> 
			<th width="30%">参数</th> 
			<th width="20%">类型</th> 
			<th width="10%">是否必填</th> 
			<th width="40%" colspan="2">说明</th> 
		</tr> 
	</thead> 
	 <tbody> 
		<tr> 
			<td>giveRedEnvelopeId</td> 
			<td>String</td>
			<td>是</td>
			<td>发红包Id</td> 
		</tr>
	</tbody> 
</table>

<h2 style="margin:0;padding:0; margin-top: 10px;">示例</h2>
<textarea name="exampleCode">
<#-- 从URL参数中获取值 -->
<@function giveRedEnvelopeId="${url_giveRedEnvelopeId}">
<#assign giveRedEnvelope = redEnvelopeRelated_giveRedEnvelopeContent_entityBean>
	<#if giveRedEnvelope != null && question?? >
		${giveRedEnvelope.totalAmount}
	</#if>
</@function>
</textarea>